package edu.ciee.em.action;

import org.apache.struts2.convention.annotation.Action;  
import org.apache.struts2.convention.annotation.Namespace;  
import org.apache.struts2.convention.annotation.ParentPackage;  
import org.apache.struts2.convention.annotation.Result;  
import com.opensymphony.xwork2.ActionSupport;  
  
@ParentPackage("struts-default")  
@Namespace("/content")  
public class LoginAction extends ActionSupport {  
  
    @Action(value="login",
    		results={@Result(name="success",location="/content/index.jsp")  
                    ,@Result(name="input",location="/content/input.jsp")})  
    public String execute(){  
        return SUCCESS;
    }
}
